/* reset */
html, body, p, ul, li, img{
  margin: 0;
  padding: 0;
}

html, body{
  width: 100%;
  height: 100%;
}

body{
  background: #951F29 url(./img/xi.png) no-repeat center 1rem / 7.3rem 4.95rem;
  text-align: center;
  color: #F7AA8F;
}

/* swiper */
.swiper-container {
  width: 100%;
  height: 100%;
}  
.swiper-slide{
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.title{
  font-size: 0.62rem;
  font-weight: 400;
}
.sub-title{
  font-size: 0.36rem;
  font-weight: 400;
}
.btn{
  width: 3.4rem;
  height: 1rem;
  background: #F7AA8F;
  box-shadow: 0px 0.16rem 0.26rem 1px rgba(0, 0, 0, 0.28);
  border-radius: 0.5rem;
  color: #7C2028;
  font-size: 0.58rem;
  text-align: center;
  line-height: 1rem;
  font-weight: 400;
  margin: 0 auto;
  position: relative;
}
.btn:after{
  content: '';
  display: block;
  position: absolute;
  top: 0.19rem;
  right: -0.83rem;
  width: 1.27rem;
  height: 1.85rem;
  background: url('./img/hand.webp') no-repeat center / 100% 100%;
  animation: handshake 2s linear infinite;
}
.icon-heart{
  width: 0.64rem;
  height: 0.52rem;
  background: url('./img/icon-heart.webp') no-repeat center / 100% 100%;
  margin: 0 auto;
}
.icon-play{
  width: 0.7rem;
  height: 0.72rem;
  background: url('./img/icon-play.png') no-repeat center / 100% 100%;
  margin: 0 auto;
  animation: rotate 5s linear infinite;
}
.icon-stop{
  width: 0.7rem;
  height: 0.72rem;
  background: url('./img/icon-stop.png') no-repeat center / 100% 100%;
  margin: 0 auto;
}

/* 播放器 */
.music-player{
  position: fixed;
  z-index: 10;
  top: 0.225rem;
  right: 0.28rem;
}

.slide-1{
  position: relative;
}
.slide-1 .title{
  padding-top: 0.73rem;
  margin-bottom: 0.37rem;
}
.slide-1 .sub-title{
  margin-bottom: 0.15rem;
}
.slide-1 .icon-heart{
  margin: 0.51rem auto 0.91rem;
}
.slide-1 .picture{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 7.5rem;
  font-size: 0;
}
.slide-1 .picture img{
  width: 7.5rem;
  height: 5.42rem;
  margin: 0;
  padding: 0;
}


.slide-2 .title{
  padding-top: 0.73rem;
  margin-bottom: 0.37rem;
}
.slide-2 .sub-title{
  margin-bottom: 0.15rem;
}
.slide-2 .icon-heart{
  margin: 0.51rem auto 0.91rem;
}
.slide-2 .map{
  margin: 1.9rem auto 0;
  width: 6.95rem;
  height: 4.8rem;
  background: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 0.1rem;
}
.slide-2 .address{
  font-size: 0.32rem;
  font-weight: 400;
  margin: 0.2rem auto 0.64rem;
}

.slide-3 .title{
  padding-top: 3.1rem;
  margin-bottom: 0.37rem;
}
.slide-3 .tels{
  margin: 2.5rem auto 2.1rem;
}
.slide-3 .tels p{
  font-size: 0.42rem;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 0.58rem;
}
.slide-3 .tels p a{
  color: #FFF;
  text-decoration: underline;
}

.slide-4{
  padding-top: 0.73rem;
}
.slide-4 .title{
  margin-bottom: 0.34rem;
}
.slide-4 .hearts{
  width: 2.8rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slide-4 .pictures{
  margin: 0.58rem auto 0;
  display: flex;
  justify-content: center;
}
.slide-4 .pictures .left{
  flex: 0 0 3.5rem;
  height: 6.5rem;
  position: relative;
}
.slide-4 .pictures .left .img-1{
  width: 100%;
  height: 100%;
}
.slide-4 .pictures .right{
  flex: 0 0 3.5rem;
  height: 6.5rem;
  position: relative;
}
.slide-4 .pictures .right .img-2{
  width: 100%;
  height: 3.22rem;
}
.slide-4 .pictures .right .img-3{
  width: 100%;
  height: 3.22rem;
  transition: all ease-in 1s;
}
.slide-4 .desc{
  font-size: 0.3rem;
  margin: -0.1rem auto 0.4rem;
}

.slide-5{
  padding-top: 0.77rem;
}
.slide-5 .title{
  margin-bottom: 1.02rem;
}
.slide-5 .wish p{
  font-size: 0.5rem;
  margin-bottom: 0.3rem;
}
.slide-5 .hearts{
  width: 2.8rem;
  margin: 0.6rem auto 1.47rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slide-5 .picture{
  margin: 0 auto;
}
.slide-5 .picture img{
  width: 6.91rem;
  height: 6.2rem;
}


/* 动画 */
.hidden{
  visibility: hidden;
}
.flyin-left{
  animation: flyin-left 1s ease-in;
  transition: all linear 1s;
}
.flyin-right{
  animation: flyin-right 1s ease-in;
  transition: all linear 1s;
}
@keyframes flyin-left {
  0% {
    transform: translateX(-7.5rem);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes flyin-right {
  0% {
    transform: translateX(7.5rem);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
@keyframes handshake {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-5deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0deg);
  }
  60% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}